Valid for Sitecore
5.2, 5.1.1
Edit a Sublayout
Prev Next |
Because the WYSIWYG editor reformats code, once the Sublayout has been edited in Visual Studio it should no longer be edited with the WYSIWYG editor. To edit a Sublayout:
-
through the Sitecore Desktop:
- Log in to the Sitecore Desktop on a development server as a user with appropriate permissions.
- Open Layout Studio.
- Choose File » Open » Sublayout and select the Layout to edit.
- Drag and drop Renderings, Sublayouts and/or Placeholders from the tree on the left into the Sublayout.
-
using Microsoft® Visual Studio .NET:
- Open the project in Visual Studio.
- Open Solution Explorer and navigate to the folder containing the Sublayout (usually /layouts).
- If the Sublayout is not already included in the project, right-click on it and include it in the project.
- Open the Sublayout.
Prev Next